<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{ $test.title}</title> 

<style type="text/css">
</style>
</head>
<body>
我是模板
{$test}
{foreach from=$data key=key item=value}
<dl>{$key}{$value.a}</dl>		
{foreachelse}
xxx
{/foreach}
<br>
{$tmp}
</body>
</html> 